package com.qianji.petmall.product.vo;

import com.qianji.common.to.seckill.SeckillSkuInfoTo;
import com.qianji.petmall.product.entity.SkuImagesEntity;
import com.qianji.petmall.product.entity.SkuInfoEntity;
import com.qianji.petmall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @author liang zai
 * @date 2022/3/8 11:32
 * @description
 */
@Data
public class SkuItemVo {
    /**
     * 1、sku基本信息 pms_sku_info
     */
    private SkuInfoEntity info;
    private boolean hasStock = true;
    /**
     * 2、sku图片信息 pms_sku_images
     */
    private List<SkuImagesEntity> images;
    /**
     * 3、获得spu销售属性组合
     */
    private List<SkuItemAttrVO> itemAttr;
    /**
     * 4、获得spu介绍
     */
    private SpuInfoDescEntity desc;
    /**
     * 5、获得spu规格参数
     */
    private List<SpuItemAttrGroupVo> itemGroup;
    /**
     * 6、获得sku商品的秒杀信息
     */
    private SeckillSkuInfoTo skuInfoTo;

    private String startTime;

    private String endTime;
}
